How to add filter(_:) method to generic structure in Swift

welcome to shbcf.ru